<div id="wrapper">
    <div id="page-wrapper">
        <div class="panel panel-primary">
            <div class="panel-heading">商品详情</div>
            <div class="panel-body">
                <form id="goodsform" class="form-horizontal " role="form">
                    <fieldset>
                        <div class="form-group ms-col-input">
                            <label class="col-sm-1 control-label" for="goodsname"><span>商品名称</span></label>

                            <div class="col-sm-3  ">
                                <input class="form-control" id="goodsname" value={%$data.goods.goods_name%} type="text"
                                       placeholder="必填，请勿使用特殊字符"/>
                            </div>
                            <label class="col-sm-1 control-label" for="catid">商品分类</label>

                            <div class="col-sm-3">
                                <select id="catid" class="form-control">
                                    <option value="1" {%eq name="$data.goods.goods_id" value="1" %}selected="selected"
                                            {%
                                    /eq%} >日系</option>
                                    <option value="2" {%eq name="$data.goods.goods_id" value="2" %}selected="selected"
                                            {%
                                    /eq%} >韩系</option>
                                </select>
                            </div>

                            <label class="col-sm-1 control-label" for="brandid">商品品牌</label>

                            <div class="col-sm-3">
                                <select id="brandid" class="form-control">
                                    <option value="1" {%eq name="$data.goods.brand_id" value="1" %}selected="selected"
                                            {%
                                    /eq%} >奥巴马</option>
                                    <option value="2" {%eq name="$data.goods.brand_id" value="2" %}selected="selected"
                                            {%
                                    /eq%} >特朗普</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group ms-col-input">
                            <label class="col-sm-1 control-label " for="goodsnumber">商品数量</label>

                            <div class="col-sm-3  ">
                                <input class="form-control" id="goodsnumber" type="text"
                                       value={%$data.goods.goods_number%}/>
                            </div>
                            <label class="col-sm-1 control-label" for="marketprice">市场价格</label>

                            <div class="col-sm-3">
                                <input class="form-control" id="marketprice" type="text"
                                       value={%$data.goods.market_price%}/>
                            </div>
                            <label class="col-sm-1 control-label" for="shopprice">商城价格</label>

                            <div class="col-sm-3">
                                <input class="form-control" id="shopprice" type="text"
                                       value={%$data.goods.shop_price%}/>
                            </div>
                        </div>
                        <div class="form-group ms-col-input">
                            <label class="col-sm-1 control-label " for="isonsale">是否在售</label>

                            <div class="col-sm-3  ">
                                <select id="isonsale" class="form-control">
                                    <option value="1" {%eq name="$data.goods.brand_id" value="2" %}selected="selected"
                                            {%
                                    /eq%} >是</option>
                                    <option value="2" {%eq name="$data.goods.brand_id" value="2" %}selected="selected"
                                            {%
                                    /eq%} >否</option>
                                </select>
                            </div>
                            <label class="col-sm-1 control-label" for="ishot">是否热卖</label>

                            <div class="col-sm-3">
                                <select id="ishot" class="form-control">
                                    <option value="1" {%eq name="$data.goods.brand_id" value="2" %}selected="selected"
                                            {%
                                    /eq%} >是</option>
                                    <option value="2" {%eq name="$data.goods.brand_id" value="2" %}selected="selected"
                                            {%
                                    /eq%} >否</option>
                                </select>
                            </div>
                            <label class="col-sm-1 control-label" for="isnew">是否新品</label>

                            <div class="col-sm-3">
                                <select id="isnew" class="form-control">
                                    <option value="1" {%eq name="$data.goods.brand_id" value="2" %}selected="selected"
                                            {%
                                    /eq%} >是</option>
                                    <option value="2" {%eq name="$data.goods.brand_id" value="2" %}selected="selected"
                                            {%
                                    /eq%} >否</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group ms-col-input">
                            <label class="col-sm-1 control-label " for="ispromote">是否促销</label>

                            <div class="col-sm-3  ">
                                <select id="ispromote" class="form-control">
                                    <option value="1" {%eq name="$data.goods.brand_id" value="2" %}selected="selected"
                                            {%
                                    /eq%} >是</option>
                                    <option value="2" {%eq name="$data.goods.brand_id" value="2" %}selected="selected"
                                            {%
                                    /eq%} >否</option>
                                </select>
                            </div>
                            <label class="col-sm-1 control-label" for="iscertify">是否正品</label>

                            <div class="col-sm-3">
                                <select id="iscertify" class="form-control">
                                    <option value="1" {%eq name="$data.goods.brand_id" value="2" %}selected="selected"
                                            {%
                                    /eq%} >是</option>
                                    <option value="2" {%eq name="$data.goods.brand_id" value="2" %}selected="selected"
                                            {%
                                    /eq%} >否</option>
                                </select>
                            </div>
                            <label class="col-sm-1 control-label" for="isfreeshipping">是否包邮</label>

                            <div class="col-sm-3">
                                <select id="isfreeshipping" class="form-control">
                                    <option value="1" {%eq name="$data.goods.brand_id" value="2" %}selected="selected"
                                            {%
                                    /eq%} >是</option>
                                    <option value="2" {%eq name="$data.goods.brand_id" value="2" %}selected="selected"
                                            {%
                                    /eq%} >否</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group ms-col-input">
                            <label class="col-sm-1 control-label " for="specialpacking">特殊包装</label>

                            <div class="col-sm-3  ">
                                <select id="specialpacking" class="form-control">
                                    <option value="1" {%eq name="$data.goods.brand_id" value="2" %}selected="selected"
                                            {%
                                    /eq%} >是</option>
                                    <option value="2" {%eq name="$data.goods.brand_id" value="2" %}selected="selected"
                                            {%
                                    /eq%} >否</option>
                                </select>
                            </div>
                            <label class="col-sm-1 control-label" for="sortorder">商品排序</label>

                            <div class="col-sm-3">
                                <input class="form-control" id="sortorder" type="text" placeholder="小数点保留2位"/>
                            </div>
                            <label class="col-sm-1 control-label" for="specs">商品规格</label>

                            <div class="col-sm-3">
                                <select id="specs" class="form-control">
                                    <option value="1" {%eq name="$data.goods.brand_id" value="2" %}selected="selected"
                                            {%
                                    /eq%} >大</option>
                                    <option value="2" {%eq name="$data.goods.brand_id" value="2" %}selected="selected"
                                            {%
                                    /eq%} >小</option>
                                </select>
                            </div>
                        </div>
                    </fieldset>
                    <fieldset>
                        <legend></legend>
                        <div class="form-group ms-col-input">
                            <label class="col-sm-1 control-label">商品详情</label>

                            <div class="col-sm-11">
                                <input id="goodsimg" name="file" type="file" multiple class="file-loading">
                            </div>
                        </div>
                    </fieldset>
                    <fieldset>
                        <legend></legend>
                        <div class="form-group ms-col-input">
                            <label class="col-sm-1 control-label">商品轮播图</label>

                            <div class="col-sm-11">
                                <input id="goodsbanner" name="file" type="file" multiple class="file-loading">
                            </div>
                        </div>
                    </fieldset>
                    <fieldset>
                        <legend></legend>
                        <div class="form-group ms-col-input">
                            <label class="col-sm-1 control-label">商品缩略图</label>

                            <div class="col-sm-11">
                                <input id="goodsbanner" name="file" type="file" multiple class="file-loading">
                            </div>
                        </div>
                    </fieldset>
                </form>
            </div>
        </div>
    </div>
</div>
<link rel="stylesheet" type="text/css" href="/static/home/vendor/lightbox2/dist/css/lightbox.min.css">
<script src="/static/home/vendor/lightbox2/dist/js/lightbox.min.js"></script>
<link rel="stylesheet" type="text/css" href="http://cdn.bootcss.com/bootstrap-fileinput/4.3.6/css/fileinput.min.css">
<script src="http://cdn.bootcss.com/bootstrap-fileinput/4.3.6/js/fileinput.min.js"></script>
<script src="http://cdn.bootcss.com/bootstrap-fileinput/4.3.6/js/locales/zh.min.js"></script>
<script src="/static/home/widget/shop/goodslist/goodslist.js"></script>


